﻿namespace Yz.Base.Base
{
    public class BaseEntityState : BaseEntity
    {
        /// <summary>
        /// 数据状态（永远是True，无业务意义）
        /// </summary>
        public bool DataState { get; set; } = true;
    }

    /// <summary>
    /// 带更新信息的Entity
    /// </summary>
    public class UpdateEntityState : BaseEntityState
    {
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;
    }

    public class BaseEntityKeyState : BaseEntityKey
    {
        /// <summary>
        /// 数据状态（永远是True，无业务意义）
        /// </summary>
        public bool DataState { get; set; } = true;
    }
    public class UpdateEntityKeyState : BaseEntityKeyState
    {
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;
    }

    public class BaseEntityLongState : BaseEntityLong
    {
        /// <summary>
        /// 数据状态（永远是True，无业务意义）
        /// </summary>
        public bool DataState { get; set; } = true;
    }
    public class UpdateEntityLongState : BaseEntityLongState
    {
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;
    }
}
